/* ================================================================
	 * -  Calendar  - 
	 * ===============================================================*/
	 
	 // cal view list 
	$('.cal-view').click(function(){
		$('.cal-view ul').slideToggle(200, function() {
		});
		$('.cal-view span').toggleClass('down');
	});
			
	$('.cal-view li').click(function(){
		var value = $(this).text();
		$(".cal-view i").text(value);
	});
	
	// check all + check none -----------------------------------------
	
	// * left side 
	$('.check-boxes label input[type=checkbox]').prop('checked', true);
    $("#checkAll").click(function () {
    	$('.check-boxes label input[type=checkbox]').prop('checked', true);
    });
	$("#noCheck").click(function () {
    	$('.check-boxes label input[type=checkbox]').prop('checked', false);
    });
	
	// * table view 
	// $('.calendar-right-side input[type=checkbox]').prop('checked', true);
	
	$(".calendar-right-side #checkAll").click(function () {
    	$('.calendar-right-side input[type=checkbox]').prop('checked', true);
    });
	$(".calendar-right-side #noCheck").click(function () {
    	$('.calendar-right-side input[type=checkbox]').prop('checked', false);
    });
	
	$('.week:odd').css('background', '#f5f5f5');
	// Calendar --------------------------------------------------------
	var LEFT_CAL = Calendar.setup({
                    cont: "cont",
                    weekNumbers: false,
                    selectionType: Calendar.SEL_MULTIPLE,
                    titleFormat: "%B %Y"
            });